package homework02;

public class Demo {
    public static void main(String[] args) {
        Printer printer = new Printer();
        Circle circle = new Circle("圆形");
        printer.draw(circle);
        Rectangle rectangle = new Rectangle("长方形");
        printer.draw(rectangle);

    }
}
